import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
//路由
//路由模式hash 
import {HashRouter,BrowserRouter} from "react-router-dom"
//引入仓      
import store from "./store";
import { Provider } from "react-redux";

//引入静态资源
import "./assets/css/reset.css";
import "./assets/js/rem";

//引入ui库
import 'antd-mobile/dist/antd-mobile.css';  

ReactDOM.render(
  // 链接仓库
  <Provider store={store}>
  <HashRouter>
  <App />
  </HashRouter>
  </Provider>,
  document.getElementById('root')
);

